package com.gxa.uhome.service;

import com.gxa.uhome.pojo.Station;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * @author: fanyouzhao
 * @date: 14:09 2021/6/7
 */
public interface StationService {
    List<Station> selectAll();

    List<Station> selectByPage(Integer page, Integer size);

    Boolean add(Station station);

    Integer getCount();

    Boolean del(Integer id);

    List<Station> selectLikeNameByPage(String name,Integer page,Integer size);

    Integer getCountLikeName(String name);

    Boolean update(Station station);

    Station selectByName(String name);

    Station selectById(Integer id);
}
